package cn.hxzy.pojo;

import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.List;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author songmengxin
 * @since 2021-07-31
 */
@Data
  @EqualsAndHashCode(callSuper = false)
  @Accessors(chain = true)
@ApiModel(value="Dis对象", description="")
public class Dis implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId("disId")
    private String disId;

    @TableField("userId")
    private Integer userId;

    @TableField("proId")
    private String proId;

    @TableField("disTime")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date disTime;

    private String distext;

    @TableField("dislikeNum")
    private Integer dislikeNum;
    @TableField(exist = false)
    private User user;
    @TableField(exist = false)
    List<Reply> replyList;

}
